package com.share.device.sevice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.device.domain.Cabinet;
import com.share.device.domain.CabinetType;

import java.util.List;
import java.util.Map;

/**
 * @author zues
 * @date 4/14/2025 10:13 下午
 */
public interface ICabinetService  extends IService<Cabinet> {

    public List<Cabinet> selectCabinetList(Cabinet cabinet);

    int saveCabinet(Cabinet cabinet);

    int updateCabinet(Cabinet cabinet);

    int removeCabinet(List<Long> idList);

    /**
     * 查询未使用的柜机
     * @param keyword
     * @return
     */
    List<Cabinet> searchNoUseList(String keyword);

    /**
     * 柜机全部详情信息
     * @param id
     * @return
     */
    Map<String, Object> getAllInfo(Long id);

}
